﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 多态
{
    class Divide:Calculate
    {
        public override void DisplayResult(int X,int Y) 
        {
            divide = X / Y;
            Console.WriteLine("计算结果为：" + divide);
        }
    }
}
